﻿using System;

namespace Gmantis.Controls
{
    public class MaskedTextChangedEventArgs : EventArgs
    {
        // Fields
        private readonly string _newText;
        private readonly string _oldText;

        // Methods
        public MaskedTextChangedEventArgs(string newText, string oldText)
        {
            this._newText = newText;
            this._oldText = oldText;
        }

        // Properties
        public string NewText
        {
            get
            {
                return this._newText;
            }
        }

        public string OldText
        {
            get
            {
                return this._oldText;
            }
        }
    }
}
